<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>@TARGET_NAME@</title>
    <style>
        html, body { margin: 0; padding: 0; width: 100%; height: 100%; }
        .canvas-container { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
        #canvas { max-width: 100%; max-height: 100%; }
    </style>
</head>
<body>
<div class="canvas-container">
    <canvas id="canvas" width="1024" height="1024"></canvas>
</div>
</body>
<script type="text/javascript">var Module = {canvas: document.getElementById('canvas')};</script>
<script type="text/javascript" src="@TARGET_NAME@.js"></script>
</html>
